const express = require('express');
const router = express.Router();
const userRoutes = require('./user');
const baseInstallationRoutes = require('./baseInstallation');
const houseTypeRoutes = require('./houseType');
const otherConsumeRoutes = require('./otherConsume');
const orderRoutes = require('./order');
/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});
router.use('/user', userRoutes);
router.use('/baseInstallation', baseInstallationRoutes);
router.use('/houseType', houseTypeRoutes);
router.use('/otherConsume', otherConsumeRoutes);
router.use('/order', orderRoutes);

module.exports = router;
